package com.hippy.erya.base.tenant.service;

import com.hippy.erya.base.pojo.page.LayuiPageInfo;
import com.hippy.erya.base.tenant.entity.TenantInfo;
import com.hippy.erya.base.tenant.model.params.TenantInfoParam;
import com.hippy.erya.base.tenant.model.result.TenantInfoResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface TenantInfoService extends IService<TenantInfo> {


    void add(TenantInfoParam param);


    void delete(TenantInfoParam param);


    void update(TenantInfoParam param);


    TenantInfoResult findBySpec(TenantInfoParam param);


    List<TenantInfoResult> findListBySpec(TenantInfoParam param);


    LayuiPageInfo findPageBySpec(TenantInfoParam param);


    TenantInfo getByCode(String code);

}
